<!--
 * @Descripttion: 
 * @version: 1.0
 * @Author: Ankang
 * @Date: 2021-06-05 21:54:29
 * @LastEditors: Ankang
 * @LastEditTime: 2021-06-08 20:49:18
-->
<template>
  <van-button :type="type" :size="size" :color="color" @click="btnClick"
    >查看全部<i class="iconfont">&#xe658;</i></van-button
  >
</template>

<script>
import Vue from "vue";
import { Button } from "vant";

Vue.use(Button);
export default {
  data() {
    return {
      type: "primary",
      size: "large",
      color: "#f7f7f7",
    };
  },
  methods: {
    btnClick() {
      this.$router.push("/zhuye/goodarticle");
    },
  },
};
</script>

<style lang='stylus' scoped>
.van-button--large
  height 0.4rem
  .van-button__text
    color #999
.van-button
  border none
</style>